#include <cstdlib>
#include "selectBox.h"

using namespace std;

int main(int argc, char** argv) {
    selectBox box("parkingLot.jpg","Parking spot select");
    vector<CvRect> rectangles;
    
    rectangles = box.draw();
    
    // example of usage of the vector that is returned by draw()
    cout << "Vector: X:" << rectangles.back().x << " Y: " << rectangles.back().y
            << " Width: " << rectangles.back().width << " Height: " 
            << rectangles.back().height << endl;
    
    return 0;
}